/* 顶部导航样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 80px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h2 {
    color: #333;
    font-size: 20px;
    font-weight: normal;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 0;
}

nav a:hover {
    color: #42d7be;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.user-info img {
    width: 40px;
    height: 38px;
    border-radius: 50%;
}

.avatar {
    font-size: 16px;
}

/* 面包屑导航 */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 5px;
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 20px;
}

/* 侧边栏 */
.sidebar {
    width: 200px;
    height: 70vh;
    background-color: #26C6A5;
    border-radius: 4px;
    padding: 20px 0;
}

.menu-item {
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.menu-item.active {
    margin: 0 auto;
    width: 60%;
    border-radius: 4px;
    background-color: white;
    color: #26C6A5;
}

/* 主要内容 */
.content {
    flex: 1;
    background: white;
    border-radius: 4px;
    padding: 20px;
}

.company-info {
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item label {
    color: #333;
    min-width: 180px;
    text-align: right;
    font-weight: bold;
    flex-shrink: 0;
}

.info-item span {
    color: #666;
    font-size: 14px;
}

.edit-btn {
    position: absolute;
    bottom: 1px;
    right: 20px;
    background: #26C6A5;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.edit-btn:hover {
    background: #1fb796;
}

/* 全局样式 */
body {
    background-color: #f5f5f5;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* 侧边栏图标 */
.icon-company {
    width: 20px;
    height: 20px;
    background: url('../images/企业信息/u721.png') no-repeat center/contain;
}

.icon-bid {
    width: 20px;
    height: 20px;
    background: url('../images/企业信息/u721.png') no-repeat center/contain;
}

.icon-mybid {
    width: 20px;
    height: 20px;
    background: url('../images/企业信息/u721.png') no-repeat center/contain;
}

/* Page content visibility */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* 弹出层样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    width: 80%;
    max-width: 1000px;
    margin: 50px auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.close-btn {
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.form-item label {
    color: #333;
    font-size: 14px;
    min-width: 160px;
    text-align: right;
}

.required {
    color: #ff4d4f;
    margin-right: 4px;
}

.form-item input,
.form-item select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.upload-btn {
    background-color: #fff;
    border: 1px solid #26C6A5;
    color: #26C6A5;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
}

.modal-footer {
    padding: 15px 20px;
    /* border-top: 1px solid #eee; */
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cancel-btn,
.confirm-btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cancel-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #666;
}

.confirm-btn {
    background-color: #26C6A5;
    border: none;
    color: #fff;
}

.modal.show {
    display: block;
}

.upload-item {
    align-items: flex-start;
}



